﻿public class NetEvent_Follow : NetEvent
{
    public static NetEvent_Follow NewEvent()
    {
        return new NetEvent_Follow();
    }

    protected override ISerialize NewData() => new LikeData();


    protected override void Excuate(ISerialize data)
    {
        FollowData updateData = data as FollowData;

        GameDebug.Log($"更新 followers：{updateData?.followers?.Count} ");

        MGame.instance.MUser.followers = updateData.followers;
    }

}
